a:17:{s:8:"provides";a:27:{s:18:"class;Pager_Common";a:3:{s:4:"type";s:5:"class";s:4:"name";s:12:"Pager_Common";s:8:"explicit";b:1;}s:34:"function;Pager_Common::getPageData";a:3:{s:4:"type";s:8:"function";s:4:"name";s:25:"Pager_Common::getPageData";s:8:"explicit";b:1;}s:40:"function;Pager_Common::getPageIdByOffset";a:3:{s:4:"type";s:8:"function";s:4:"name";s:31:"Pager_Common::getPageIdByOffset";s:8:"explicit";b:1;}s:40:"function;Pager_Common::getOffsetByPageId";a:3:{s:4:"type";s:8:"function";s:4:"name";s:31:"Pager_Common::getOffsetByPageId";s:8:"explicit";b:1;}s:43:"function;Pager_Common::getPageRangeByPageId";a:3:{s:4:"type";s:8:"function";s:4:"name";s:34:"Pager_Common::getPageRangeByPageId";s:8:"explicit";b:1;}s:31:"function;Pager_Common::getLinks";a:3:{s:4:"type";s:8:"function";s:4:"name";s:22:"Pager_Common::getLinks";s:8:"explicit";b:1;}s:39:"function;Pager_Common::getCurrentPageID";a:3:{s:4:"type";s:8:"function";s:4:"name";s:30:"Pager_Common::getCurrentPageID";s:8:"explicit";b:1;}s:36:"function;Pager_Common::getNextPageID";a:3:{s:4:"type";s:8:"function";s:4:"name";s:27:"Pager_Common::getNextPageID";s:8:"explicit";b:1;}s:40:"function;Pager_Common::getPreviousPageID";a:3:{s:4:"type";s:8:"function";s:4:"name";s:31:"Pager_Common::getPreviousPageID";s:8:"explicit";b:1;}s:31:"function;Pager_Common::numItems";a:3:{s:4:"type";s:8:"function";s:4:"name";s:22:"Pager_Common::numItems";s:8:"explicit";b:1;}s:31:"function;Pager_Common::numPages";a:3:{s:4:"type";s:8:"function";s:4:"name";s:22:"Pager_Common::numPages";s:8:"explicit";b:1;}s:34:"function;Pager_Common::isFirstPage";a:3:{s:4:"type";s:8:"function";s:4:"name";s:25:"Pager_Common::isFirstPage";s:8:"explicit";b:1;}s:33:"function;Pager_Common::isLastPage";a:3:{s:4:"type";s:8:"function";s:4:"name";s:24:"Pager_Common::isLastPage";s:8:"explicit";b:1;}s:41:"function;Pager_Common::isLastPageComplete";a:3:{s:4:"type";s:8:"function";s:4:"name";s:32:"Pager_Common::isLastPageComplete";s:8:"explicit";b:1;}s:42:"function;Pager_Common::getPerPageSelectBox";a:3:{s:4:"type";s:8:"function";s:4:"name";s:33:"Pager_Common::getPerPageSelectBox";s:8:"explicit";b:1;}s:33:"function;Pager_Common::raiseError";a:3:{s:4:"type";s:8:"function";s:4:"name";s:24:"Pager_Common::raiseError";s:8:"explicit";b:1;}s:35:"function;Pager_Common::errorMessage";a:3:{s:4:"type";s:8:"function";s:4:"name";s:26:"Pager_Common::errorMessage";s:8:"explicit";b:1;}s:19:"class;Pager_Jumping";a:4:{s:4:"type";s:5:"class";s:4:"name";s:13:"Pager_Jumping";s:7:"extends";s:12:"Pager_Common";s:8:"explicit";b:1;}s:41:"function;Pager_Jumping::getPageIdByOffset";a:3:{s:4:"type";s:8:"function";s:4:"name";s:32:"Pager_Jumping::getPageIdByOffset";s:8:"explicit";b:1;}s:44:"function;Pager_Jumping::getPageRangeByPageId";a:3:{s:4:"type";s:8:"function";s:4:"name";s:35:"Pager_Jumping::getPageRangeByPageId";s:8:"explicit";b:1;}s:32:"function;Pager_Jumping::getLinks";a:3:{s:4:"type";s:8:"function";s:4:"name";s:23:"Pager_Jumping::getLinks";s:8:"explicit";b:1;}s:11:"class;Pager";a:3:{s:4:"type";s:5:"class";s:4:"name";s:5:"Pager";s:8:"explicit";b:1;}s:23:"function;Pager::factory";a:3:{s:4:"type";s:8:"function";s:4:"name";s:14:"Pager::factory";s:8:"explicit";b:1;}s:19:"class;Pager_Sliding";a:4:{s:4:"type";s:5:"class";s:4:"name";s:13:"Pager_Sliding";s:7:"extends";s:12:"Pager_Common";s:8:"explicit";b:1;}s:41:"function;Pager_Sliding::getPageIdByOffset";a:3:{s:4:"type";s:8:"function";s:4:"name";s:32:"Pager_Sliding::getPageIdByOffset";s:8:"explicit";b:1;}s:44:"function;Pager_Sliding::getPageRangeByPageId";a:3:{s:4:"type";s:8:"function";s:4:"name";s:35:"Pager_Sliding::getPageRangeByPageId";s:8:"explicit";b:1;}s:32:"function;Pager_Sliding::getLinks";a:3:{s:4:"type";s:8:"function";s:4:"name";s:23:"Pager_Sliding::getLinks";s:8:"explicit";b:1;}}s:8:"filelist";a:23:{s:10:"Common.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"ce22b22457a22e03892ebce15a8a01da";s:12:"installed_as";s:32:"\xampp\php\pear\Pager\Common.php";}s:11:"Jumping.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"abf7bd918534da83c2b5322d0e11a96a";s:12:"installed_as";s:33:"\xampp\php\pear\Pager\Jumping.php";}s:9:"Pager.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"a1fa79e69ef992e9a6bf514a5b0f9993";s:12:"installed_as";s:31:"\xampp\php\pear\Pager\Pager.php";}s:11:"Sliding.php";a:4:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"b38f5b741e21bdf176ec8a7d38154a8a";s:12:"installed_as";s:33:"\xampp\php\pear\Pager\Sliding.php";}s:20:"examples/example.php";a:4:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"8c3dc80f27a08d6bb5348c5bc56fb69a";s:12:"installed_as";s:47:"\xampp\php\pear\docs\Pager\examples\example.php";}s:26:"examples/Pager_Wrapper.php";a:4:{s:4:"role";s:3:"doc";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"50cd4d352f94e02f9a71ed6bb62ff392";s:12:"installed_as";s:53:"\xampp\php\pear\docs\Pager\examples\Pager_Wrapper.php";}s:19:"tests/all_tests.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"cff566507ea22e27a3cae2fc38a6489f";s:12:"installed_as";s:47:"\xampp\php\pear\tests\Pager\tests\all_tests.php";}s:23:"tests/pager_include.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"6e068785210abb19d568902ed7b3db19";s:12:"installed_as";s:51:"\xampp\php\pear\tests\Pager\tests\pager_include.php";}s:35:"tests/pager_jumping_noData_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"f1adfff3b881e77ec465d6c1bc9c111a";s:12:"installed_as";s:63:"\xampp\php\pear\tests\Pager\tests\pager_jumping_noData_test.php";}s:28:"tests/pager_jumping_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"f2568e2d05dc9de946311dafd1d3f118";s:12:"installed_as";s:56:"\xampp\php\pear\tests\Pager\tests\pager_jumping_test.php";}s:29:"tests/pager_jumping_tests.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"91fae6a7dea9df24f632eccdaace5419";s:12:"installed_as";s:57:"\xampp\php\pear\tests\Pager\tests\pager_jumping_tests.php";}s:27:"tests/pager_noData_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"4921ac72c61a7b3f093fa9326101879f";s:12:"installed_as";s:55:"\xampp\php\pear\tests\Pager\tests\pager_noData_test.php";}s:35:"tests/pager_sliding_noData_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"f41cab3c66ac187dd95e8ed866c22622";s:12:"installed_as";s:63:"\xampp\php\pear\tests\Pager\tests\pager_sliding_noData_test.php";}s:40:"tests/pager_sliding_notExpanded_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"76bb535b48edb758f3ea8aa23d9d7929";s:12:"installed_as";s:68:"\xampp\php\pear\tests\Pager\tests\pager_sliding_notExpanded_test.php";}s:28:"tests/pager_sliding_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"bed627aa195e93a8596b301a03964baa";s:12:"installed_as";s:56:"\xampp\php\pear\tests\Pager\tests\pager_sliding_test.php";}s:29:"tests/pager_sliding_tests.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"0fda8a38280c6fa489828bb9b9c80f9c";s:12:"installed_as";s:57:"\xampp\php\pear\tests\Pager\tests\pager_sliding_tests.php";}s:20:"tests/pager_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"64579d867a8c1fd7663d6e619de5071f";s:12:"installed_as";s:48:"\xampp\php\pear\tests\Pager\tests\pager_test.php";}s:24:"tests/pager_test_xss.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"b6bdae6adba5f789a000375c241d6085";s:12:"installed_as";s:52:"\xampp\php\pear\tests\Pager\tests\pager_test_xss.php";}s:21:"tests/pager_tests.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"0bf7c89c0f90e4cefbef7c126c4f57db";s:12:"installed_as";s:49:"\xampp\php\pear\tests\Pager\tests\pager_tests.php";}s:31:"tests/pager_wrapper_include.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"af2fb264704861f38f5923e830c41caf";s:12:"installed_as";s:59:"\xampp\php\pear\tests\Pager\tests\pager_wrapper_include.php";}s:28:"tests/pager_wrapper_test.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"f0501d480c937d3f9719a0e48d179515";s:12:"installed_as";s:56:"\xampp\php\pear\tests\Pager\tests\pager_wrapper_test.php";}s:24:"tests/simple_include.php";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"efae9f4b4a69d70e41d8a24c0a923e52";s:12:"installed_as";s:52:"\xampp\php\pear\tests\Pager\tests\simple_include.php";}s:12:"tests/README";a:4:{s:4:"role";s:4:"test";s:14:"baseinstalldir";s:5:"Pager";s:6:"md5sum";s:32:"e40ddaec5c6e287a72699a5aaebffdd5";s:12:"installed_as";s:40:"\xampp\php\pear\tests\Pager\tests\README";}}s:10:"xsdversion";s:3:"1.0";s:15:"packagerversion";s:5:"1.4.1";s:7:"package";s:5:"Pager";s:7:"summary";s:17:"Data paging class";s:11:"description";s:303:"It takes an array of data as input and pages it according to various parameters.
It also builds links within a specified range, and allows complete customization of the output (it even works with front controllers and mod_rewrite).
Two operating modes available: "Jumping" and "Sliding" window style.
";s:11:"maintainers";a:2:{i:0;a:4:{s:6:"handle";s:5:"quipo";s:4:"name";s:16:"Lorenzo Alberton";s:5:"email";s:19:"l.alberton@quipo.it";s:4:"role";s:4:"lead";}i:1;a:4:{s:6:"handle";s:7:"richard";s:4:"name";s:13:"Richard Heyes";s:5:"email";s:19:"richard@phpguru.org";s:4:"role";s:4:"lead";}}s:7:"version";s:5:"2.3.4";s:12:"release_date";s:10:"2005-09-28";s:15:"release_license";s:11:"BSD License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:86:"- changed license to BSD
- fixed bug #4897 (multibyte chars not handled correctly)
";s:9:"changelog";a:26:{i:0;a:4:{s:7:"version";s:5:"2.3.4";s:12:"release_date";s:10:"2005-09-28";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:88:"- changed license to BSD
- fixed bug #4897 (multibyte chars not handled correctly)
";}i:1;a:4:{s:7:"version";s:5:"2.3.3";s:12:"release_date";s:10:"2005-07-04";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:216:"- improved Pager_Wrapper and added tests
- urlencoded square brackets (bug #4337)
NB: We recommend that users of Pager < 2.3.0 immediately upgrade the package,
otherwise they might be susceptible to XSS attacks
";}i:2;a:4:{s:7:"version";s:5:"2.3.2";s:12:"release_date";s:10:"2005-06-03";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:202:"- autodetect HTTP method used, when not specified,
instead of forcing "GET" (bug #4277)
- added "altFirst" and "altLast" options to set the
"title" attribute of the first and last page links
";}i:3;a:4:{s:7:"version";s:5:"2.3.1";s:12:"release_date";s:10:"2005-05-02";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:244:"- fixed various issues with __http_build_query() and escaped entities
- if the value of "arg_separator.output" in php.ini is "&", don't encode it again
- tweaked Pager_Wrapper query rewriting function, now it is fully case insensitive
";}i:4;a:4:{s:7:"version";s:5:"2.3.0";s:12:"release_date";s:10:"2005-04-22";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:54:"- tweaked Pager_Wrapper query rewriting function
";}i:5;a:4:{s:7:"version";s:8:"2.3.0RC2";s:12:"release_date";s:10:"2005-04-06";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:69:"- fixed possible querystring duplication with front controllers
";}i:6;a:4:{s:7:"version";s:8:"2.3.0RC1";s:12:"release_date";s:10:"2005-04-01";s:13:"release_state";s:4:"beta";s:13:"release_notes";s:497:"- internal refactoring: added POST support: set the preferred http method
('GET' or 'POST') with the 'httpMethod' option.
- used $_GET instead of reparsing the querystring
[thanks to Nikolas 'Atrus' Coukouma]
(fixed bugs #3450, #3878 and #3451)
- added 'importQuery' boolean option to ignore the url vars entirely (bug #3449)
- added 'excludeVars' array option to selectively exclude some url vars (bug #2461)
- countless code optimizations
- added many new test cases to the testsuite
";}i:7;a:4:{s:7:"version";s:5:"2.2.7";s:12:"release_date";s:10:"2005-03-18";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:272:"- added Pager_Wrapper_Eclipse() function in the /examples/Pager_Wrapper example
(thanks to Matte Edens)
- added support for statements with subqueries in the Pager Wrappers
(thanks to Tobias Kuckuck)
- fixed bug #3451 (arrays in extraVars not handled correctly)
";}i:8;a:4:{s:7:"version";s:5:"2.2.6";s:12:"release_date";s:10:"2005-02-04";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:112:"- better 'currentPage' option support (thanks to Andrew Nagy)
- fixed typo (thanks to Massimiliano Arione)
";}i:9;a:4:{s:7:"version";s:5:"2.2.5";s:12:"release_date";s:10:"2005-01-17";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:360:"- allowed use of a javascript function in the fileName [bugs #2555 and #2754]
- added Pager_Wrapper_DBDO() function in the /examples/Pager_Wrapper example
(thanks to garak AT studenti DOT it)
- replaced urlencode() with htmlentities() because it was too aggressive
[bugs #2908, #3043 and #3212]
- added 'currentPage' option (patch by Kendrick Vargas)
- fixed Pager_Wrapper (examples dir) with GROUP BY queries
- changed $_GET to $_REQUEST. POST values should be valid too, now.
- Pager can be used on a DirectoryIndex script, now (patch by ieure) [bug #2617]
";}i:11;a:4:{s:7:"version";s:5:"2.2.3";s:12:"release_date";s:10:"2004-08-17";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:448:"- just the last one of a set of array values given as GET parameters
(i.e. site.php?foo[]=1&foo[]=2&foo[]=3) was carried on (bug #1904).
- make 4th parameter of getPerPageSelectBox() an array, and add an
"attribute" parameter to allow extra attributes for the select tag.
- added an example to show how this class can be used with big database
resultsets efficiently.
- prevent XSS attacks (bug #2131), thanks to sou_sk at nifty dot com
";}i:12;a:4:{s:7:"version";s:5:"2.2.2";s:12:"release_date";s:10:"2004-05-18";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:731:"- set correct selected value for getPerPageSelectBox even when "useSession"
option is false (bug #1263).
- added two parameters to getPerPageSelectBox():
* $showAllData (if true, an <option> to show
all the data is displayed in the generated <select>);
* $optionText (text to show in each <option>; use '%d' where you want to see
the number of pages selected)
- added showAllText option for alternate text in the $showAllData <option>
(the default is the number of total items).
- fixed getPageData() when $pageID is specified (bug #1377) (thanks to Ian Eure)
- added tests for getPageData()
- avoid duplicate vars in querystring when using 'extraVars' option (bug #1383)
";}i:14;a:4:{s:7:"version";s:5:"2.2.0";s:12:"release_date";s:10:"2004-01-23";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:328:"- Fixed handling of errors raised in common base class
- Added an 'extraVars' option to add vars to the querystring
- Added <link> tags building (patch by Joerg Bruckmann)
- Fixed Bug #589 (common.php raise a notice if the querystring has no '=' character)
- Use '&' instead of '&' in urls for better XHTML conformance
- Fix getOffsetByPageId() in Pager_Jumping when totalItems == 0.
- Fix getOffsetByPageId() in Pager_Sliding for BC with Pager 1.x and Pager_Jumping.
N.B.: its previous (not-indended) behaviour is now provided by the new getPageRangeByPageId() method.
- Fix isFirstPage() when totalItems == 0
- Added test suite.
";}i:16;a:5:{s:7:"version";s:3:"2.0";s:12:"release_date";s:10:"2003-09-10";s:15:"release_license";s:3:"BSD";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:323:"- New major version.
- Pager and Pager_Sliding are now merged in the same package.
Every option available in Pager_Sliding is now also available
in Pager. The API is the same as the old one, BC is kept 100%.
- Switch between "Jumping" and "Sliding" window mode just setting
an option.
- Improved error handling.
";}i:17;a:5:{s:7:"version";s:5:"1.0.8";s:12:"release_date";s:10:"2003-09-10";s:15:"release_license";s:3:"BSD";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:100:"- Minor patch for script_name vs php_self (not included in v.1.0.7)
- Prevent URL modification
";}i:18;a:5:{s:7:"version";s:5:"1.0.7";s:12:"release_date";s:10:"2002-12-01";s:15:"release_license";s:3:"BSD";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:45:"Minor patch for script_name vs php_self
";}i:19;a:5:{s:7:"version";s:5:"1.0.6";s:12:"release_date";s:10:"2002-09-08";s:15:"release_license";s:3:"BSD";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:141:"Updated to no longer require an array of data. Now
can be used with just a number of items. Thanks to
Christian Dickmann for the patch.
";}i:20;a:5:{s:7:"version";s:5:"1.0.5";s:12:"release_date";s:10:"2002-07-27";s:15:"release_license";s:3:"PHP";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:102:"Changed getCurrentPage() to getCurrentPageID() and
added getNextPageID() and getPreviousPageID()
";}i:21;a:4:{s:7:"version";s:5:"1.0.4";s:12:"release_date";s:10:"2002-06-29";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:102:"Changed getCurrentPage() to getCurrentPageID() and
added getNextPageID() and getPreviousPageID()
";}i:22;a:4:{s:7:"version";s:5:"1.0.3";s:12:"release_date";s:10:"2002-05-31";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:26:"Couple of minor bugs
";}i:23;a:4:{s:7:"version";s:5:"1.0.2";s:12:"release_date";s:10:"2002-05-31";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:113:"Applied patch from Christian Dickmann adding getCurrentPage(), numItems()
and optional CSS class for links.
";}i:24;a:4:{s:7:"version";s:5:"1.0.1";s:12:"release_date";s:10:"2002-05-27";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:83:"o No longer barfs with no querystring
o Now works with associative data array
";}i:25;a:4:{s:7:"version";s:3:"1.0";s:12:"release_date";s:10:"2002-02-09";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:55:"This is the initial release of the Pager package.